package com.ktwlsoft.archivemanage.domain.dao.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel("user_action_relation--角色行为关系-RoleActionRelation")
@Getter
@Setter
public class RoleMenuRelation extends BaseEntity {

    /**角色Id**/
    @ApiModelProperty("角色Id")
    private Long roleId;

    /**角色名称**/
    @ApiModelProperty("角色名称")
    private String roleName;

    /**菜单Id**/
    @ApiModelProperty("菜单Id")
    private Long menuId;

    /**菜单名称**/
    @ApiModelProperty("菜单名称")
    private String menuName;

    public RoleMenuRelation(){

    }

    public RoleMenuRelation(Long roleId, String roleName, Long menuId, String menuName) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.menuId = menuId;
        this.menuName = menuName;
    }

}
